	<div class="u_buzz_item">
		<div class="u_buzz_item_l">
			<?php if($groupAdminId == Yii::app()->user->id){ ?>
				<a href="<?php echo Yii::app()->createUrl('groups/view', array('group'=>$groupId));?>">
					<?php echo $this->material_image(0, $groupAvatar, '50', 'groups/'. $groupId . '/' . 0); ?>		
				</a>			
			<?php }else{ ?>
				<a href="<?php echo Yii::app()->createUrl('profile/index', array('id'=>$comment['user']['id']));?>">
					<?php echo $this->material_image('', Yii::app()->user->getState('avatar'), '50', 'photos/'. Yii::app()->user->id . '/' . 0); ?>
				</a>
			<?php } ?>		
		</div>
		<div class="u_buzz_item_r">
			<div class="u_buzz_name">
				<?php if($groupAdminId == Yii::app()->user->id){ ?>
					<a href="<?php echo Yii::app()->createUrl('groups/view', array('group'=>$groupId));?>" class="profileName">
						<?php echo CHtml::encode($groupName); ?>
					</a>				
				<?php }else{ ?>
					<a href="<?php echo Yii::app()->createUrl('profile/index', array('id'=>$comment['user']['id']));?>">
						<?php echo CHtml::encode($comment['user']['name']); ?>
					</a>
				<?php } ?>				

				<span class="u_buzz_date">0 минут назад</span>
				<div class="u_buzz_link_block hidden">
					<a href="<?php echo Yii::app()->createAbsoluteUrl("groups/deletecomment", array('comment_id'=>$comment['comment_id'])); ?>" class="u_buzz_link l2 comment_delete" onclick="return false;">
						<div class="user_action_item_tooltip c hidden">
							<div class="cc">Удалить сообщение</div>
						</div>
					</a>
				</div>
			</div>
			<p class="u_buzz_text">
				<?php echo nl2br(CHtml::encode(rawurldecode($comment['text']))); ?>
				<div class="commentPhoto">
					<?php foreach($comment['images'] as $image){ ?>
						<div class="commentPhotoItem">
							<a href="<?php echo Yii::app()->createUrl('albums/photo', array('id'=>$image->id));?>" class="photoBg">
								<?php echo $this->material_image($image->album_id, $image->name, '270', 'photos/'. $comment['user']['id'] . '/' . $image->album_id); ?> 
							</a>
						</div>
					<?php } ?>
				</div>
				
				<div class="commentVideo">
					<?php foreach($comment['videos'] as $video){ ?>
						<div class="commentVideoItem"><?php echo $video->code; ?></div>
					<?php } ?>	
				</div>
				
				<div class="commentMusic">
					<?php foreach($comment['musics'] as $music){ ?>
						<div class="u_audio__item">
							<div class="play_btn pause"></div>
							<div class="u_audio_track">
								<?php if($music->artist){ ?>
									<a class="u_audio__autor" href="#"><?php echo CHtml::encode($music->artist); ?></a>
									<span> &mdash; </span>
								<?php } ?>
								<a class="u_audio__name" href="#"><?php echo CHtml::encode($music->name); ?></a>
							</div>
						</div>	
					<?php } ?>					
				</div>					
			</p>
			
			<p class="u_buzz_comment_link">
				<?php if(!$comment['parent_id']){ ?>
					<a href="" class="new_child_comment" class="new_child_comment" onclick="return false;">Комментировать</a>
				<?php } ?>
				
				<?php $this->renderPartial('_commentLikes',array(
					'comment_id' => $comment['comment_id'],
					'countLikes' => 0,
					'likes'	=> array()
				)); ?>	
			</p>	
		</div>
		
		<div class="child_comments hidden">
			<div class="user_block">
				<div class="commentList"></div>
				<div class="u_buzz">
					<form action="<?php echo Yii::app()->createAbsoluteUrl('groups/insertcomment', array('group'=>$_GET['group'], 'parent_id'=>$comment['comment_id'])); ?>" id="buzz_message" class="new_comment_form">
						<div class="flds_border">
							<div class="flds_border_inside">
								<textarea name="text" class="new_comment_text">Ваше сообщение</textarea>
								<input type="hidden" name="parent_id" class="new_comment_parent_id" value="<?php echo $comment['comment_id']; ?>" />
							</div>
						</div>
						<div class="attachment"></div>
						<div class="buzz_action">
							<div class="buzz_btn btn">
								<input type="button" value="Написать" class="new_comment_button" />
							</div>
							<div class="buzz_adds">
								<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('groups/getvideosforcomment', array('group'=>$_GET['group'])); ?>">
									<div class="buzz_adds_item_icon i4"></div>
									<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить видеоролик</div></div>
								</div>
								<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('groups/getmusicsforcomment', array('group'=>$_GET['group'])); ?>">
									<div class="buzz_adds_item_icon i5"></div>
									<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить аудиозапись</div></div>
								</div>
								<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('groups/getimagesforcomment', array('group'=>$_GET['group'])); ?>">
									<div class="buzz_adds_item_icon i6"></div>
									<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить изображение</div></div>
								</div>
								<div class="clear"></div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>